const fs = require('fs');
const http = require('http');
const path = require('path');
const process = require('process');
const assert = require('assert');
const child_process = require('child_process');
const cluster = require('cluster');
const crypto = require('crypto');
const dgram = require('dgram');
const dns = require('dns');
const events = require('events');
const http2 = require('http2');
const https = require('https');
const module = require('module');
const net = require('net');
const os = require('os');
const perf_hooks = require('perf_hooks');
const querystring = require('querystring');
const readline = require('readline');
const repl = require('repl');
const stream = require('stream');
const string_decoder = require('string_decoder');
const tls = require('tls');
const tty = require('tty');
const url = require('url');
const util = require('util');
const v8 = require('v8');
const vm = require('vm');
const worker_threads = require('worker_threads');
const zlib = require('zlib');

global.fs = fs;
global.http = http;
global.path = path;
global.process = process;
global.assert = assert;
global.child_process = child_process;
global.cluster = cluster;
global.crypto = crypto;
global.dgram = dgram;
global.dns = dns;
global.events = events;
global.http2 = http2;
global.https = https;
global.module = module;
global.net = net;
global.os = os;
global.perf_hooks = perf_hooks;
global.querystring = querystring;
global.readline = readline;
global.repl = repl;
global.stream = stream;
global.string_decoder = string_decoder;
global.tls = tls;
global.tty = tty;
global.url = url;
global.util = util;
global.v8 = v8;
global.vm = vm;
global.worker_threads = worker_threads;
global.zlib = zlib;

//debuger好像是关键词不用
//console本来就有
//async_hooks，inspector,trace_events,wasi实验性
//domain,punycode弃用
//Error也自带了
//global就是this也不用
//Buffer,timer 全局api不用引入